package com.example.coursehub.repository;

import java.util.List;

import com.example.coursehub.entity.Course;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.example.coursehub.entity.Classes;

public interface ClassesRepository extends JpaRepository<Classes, String>, JpaSpecificationExecutor<Classes> {
    List<Classes> findByCourseCourseId(String courseId);
    Classes findByClassesId(String classesId);

}